Example

> a = 1:20;
> show(a)
   name:      a     
   class:     num   
   type:      real  
     nr:      1     
     nc:      20    
> b = reshape(a,4,5)
 b =
        1          5          9         13         17  
        2          6         10         14         18  
        3          7         11         15         19  
        4          8         12         16         20  
> c = reshape(b,2,10)
 c =
 matrix columns 1 thru 6
        1          3          5          7          9         11  
        2          4          6          8         10         12  

 matrix columns 7 thru 10
       13         15         17         19  
       14         16         18         20